import { createRouter, createWebHistory } from 'vue-router';
import Home from '@/views/Home.vue';
import MessageSend from '@/views/MessageSend.vue';
import MessageLogs from '@/views/MessageLogs.vue';

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/send',
    name: 'MessageSend',
    component: MessageSend
  },
  {
    path: '/logs',
    name: 'MessageLogs',
    component: MessageLogs
  }
];

const router = createRouter({
  history: createWebHistory(),
  routes
});
  
export default router;